﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleTaskManager.Domain.Abstract
{
    /// <summary>
    /// An interface which can be used to encrypt passwords
    /// </summary>
    public interface IPasswordEncrypter
    {
        /// <summary>
        /// Creates the hash of a given string.
        /// </summary>
        /// <param name="password">The string to hash.</param>
        /// <returns>The hashed string.</returns>
        string HashPassword(string password);
    }
}
